package org.opensourceway.sbom.model.cyclonedx;

import com.fasterxml.jackson.annotation.JsonValue;

public enum VulnerabilityMethod {

    CVSS2("CVSSv2"),

    CVSS3("CVSSv3"),

    CVSSV31("CVSSv31"),

    OWASP("OWASP"),

    OTHER("other");
    private final String method;

    VulnerabilityMethod(String method) {
        this.method = method;
    }

    @JsonValue
    public String getMethod() {
        return method;
    }
}
